package com.yc.rh.entities;

public class SpecialSpaceInfo {
	private int ssid;
	private String ssname;
	private String sspath;
	private String ssClickPath;
	private String text1;
	private String text2;
	private String text3;
	public int getSsid() {
		return ssid;
	}
	public void setSsid(int ssid) {
		this.ssid = ssid;
	}
	public String getSsname() {
		return ssname;
	}
	public void setSsname(String ssname) {
		this.ssname = ssname;
	}
	public String getSspath() {
		return sspath;
	}
	public void setSspath(String sspath) {
		this.sspath = sspath;
	}
	public String getSsClickPath() {
		return ssClickPath;
	}
	public void setSsClickPath(String ssClickPath) {
		this.ssClickPath = ssClickPath;
	}
	public String getText1() {
		return text1;
	}
	public void setText1(String text1) {
		this.text1 = text1;
	}
	public String getText2() {
		return text2;
	}
	public void setText2(String text2) {
		this.text2 = text2;
	}
	public String getText3() {
		return text3;
	}
	public void setText3(String text3) {
		this.text3 = text3;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((ssClickPath == null) ? 0 : ssClickPath.hashCode());
		result = prime * result + ssid;
		result = prime * result + ((ssname == null) ? 0 : ssname.hashCode());
		result = prime * result + ((sspath == null) ? 0 : sspath.hashCode());
		result = prime * result + ((text1 == null) ? 0 : text1.hashCode());
		result = prime * result + ((text2 == null) ? 0 : text2.hashCode());
		result = prime * result + ((text3 == null) ? 0 : text3.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		SpecialSpaceInfo other = (SpecialSpaceInfo) obj;
		if (ssClickPath == null) {
			if (other.ssClickPath != null)
				return false;
		} else if (!ssClickPath.equals(other.ssClickPath))
			return false;
		if (ssid != other.ssid)
			return false;
		if (ssname == null) {
			if (other.ssname != null)
				return false;
		} else if (!ssname.equals(other.ssname))
			return false;
		if (sspath == null) {
			if (other.sspath != null)
				return false;
		} else if (!sspath.equals(other.sspath))
			return false;
		if (text1 == null) {
			if (other.text1 != null)
				return false;
		} else if (!text1.equals(other.text1))
			return false;
		if (text2 == null) {
			if (other.text2 != null)
				return false;
		} else if (!text2.equals(other.text2))
			return false;
		if (text3 == null) {
			if (other.text3 != null)
				return false;
		} else if (!text3.equals(other.text3))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "specialSpaceInfo [ssid=" + ssid + ", ssname=" + ssname
				+ ", sspath=" + sspath + ", ssClickPath=" + ssClickPath
				+ ", text1=" + text1 + ", text2=" + text2 + ", text3=" + text3
				+ "]";
	}
	public SpecialSpaceInfo(int ssid, String ssname, String sspath,
			String ssClickPath, String text1, String text2, String text3) {
		super();
		this.ssid = ssid;
		this.ssname = ssname;
		this.sspath = sspath;
		this.ssClickPath = ssClickPath;
		this.text1 = text1;
		this.text2 = text2;
		this.text3 = text3;
	}
	public SpecialSpaceInfo() {
		super();
	}
	
	
}
